package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.common.R;
import com.zb.dto.DishDto;
import com.zb.entity.Dish;
import com.zb.entity.PageData;

import java.util.List;

public interface DishService extends IService<Dish> {
    void addDishWithFlavor(DishDto dishDto);

    PageData pageSelect(int page, int pageSize, String name);

    DishDto getDishInfoById(Long id);

    void updateDishInfo(DishDto dishDto);

    List<Dish> getAllDish(Dish dish);
}
